package com.sduept.nwld.dataserver.manager.gismap;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

import javax.sql.DataSource;

/**
 *集成SuperMap 地图组件，使用数据库数据源的配置，暂时移除，需要将地图组件单独拿出来，做一个模块
// */
//@Profile("!test")
//@Configuration
public class MapGisDataSourceConfiguration {
//        @Bean(name = "mapDataSource")
//        @ConfigurationProperties(prefix = "spring.datasource.map")
//        @Qualifier("mapDataSource")
//        public DataSource mapDataSource() {
//            return DataSourceBuilder.create().build();
//        }

}
